Menu

Wiki usage

Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License.
Edit Sidebar
Main > VolumeDamage

Main.VolumeDamage History

Show minor edits - Show changes to output

January 26, 2005, at 07:23 PM by bjarne
Changed lines 1-4 from:
-=Volume Damage=-

I will show you how to hurt the player via a trigger (also called a hurt trigger, not to be confused with a trigger_hurt, but I don't know about those... (((dcoshea)): I believe they are supposed to do something similar to what you describe here, but they don't work properly in Allied Assault despite being available, only in Spearhead)).
to:
!Volume Damage

I will show you how to hurt the player via a trigger (also called a hurt trigger, not to be confused with a ''trigger_hurt'', but I don't know about those... [[dcoshea]]: I believe they are supposed to do something similar to what you describe here, but they don't work properly in Allied Assault despite being available, only in Spearhead.
Changed lines 11-14 from:
targetname/my_hurt_trigger
setthread/my_hurt_trigger
wait/2 -----> number of seconds between hurts
to:
||border=1
||!Key||!Value||!Explanation||
||targetname||my_hurt_trigger|| ||
||setthread||my_hurt_trigger|| ||
||wait||2||number of seconds between hurts||
Changed lines 20-26 from:
//hurt script by blue60007

my_hurt_trigger:

$my_hurt_trigger volumedamage 100 //hurts the player

end
to:
//hurt script by blue60007
my_hurt_trigger:
$my_hurt_trigger volumedamage 100 //hurts the player
end
Changed lines 28-29 from:
!!!A good lake trigger
to:
!!A good lake trigger
Changed lines 32-35 from:
delay/60

and you have 60 seconds worth of 'air' to use, then you start to drown.(:twisted:)
to:
||border=1
||!Key||!Value||
||delay||60||

and you have 60 seconds worth of ''air'' to use, then you start to drown. ( *twisted* )
January 26, 2005, at 01:54 PM by 82.33.66.239
Added lines 1-37:
-=Volume Damage=-

I will show you how to hurt the player via a trigger (also called a hurt trigger, not to be confused with a trigger_hurt, but I don't know about those... (((dcoshea)): I believe they are supposed to do something similar to what you describe here, but they don't work properly in Allied Assault despite being available, only in Spearhead)).

This is a very simple process.

First create a trigger_multiple where you want the player to be hurt if he triggers it. (ie. at the bottom of a lake, see below, or around a fire)

Next it needs the following key/values:

targetname/my_hurt_trigger
setthread/my_hurt_trigger
wait/2 -----> number of seconds between hurts

Now you're going to need to add this into your sript (below levelwaittil spawn):

----
//hurt script by blue60007

my_hurt_trigger:

$my_hurt_trigger volumedamage 100 //hurts the player

end
----

This script would take about 7 seconds to kill you from full health. Anyone know the formula for calculating volumedamge into health points?

!!!A good lake trigger

Say you have a trigger set up at the bottom of a lake to hurt the player. Add a key/value of:

delay/60

and you have 60 seconds worth of 'air' to use, then you start to drown.(:twisted:)

That's pretty simple to do!

Recent Changes Printable View Page History Edit Page [Attributes] [Printable View] [WikiHelp]
Page last modified on January 26, 2005, at 07:23 PM